canister version

This section is a work in progress.

Examples:

import { Canister, ic, nat64, query } from 'azle/experimental';

export default Canister({
    // returns the canister's version number
    canisterVersion: query([], nat64, () => {
        return ic.canisterVersion();
    })
});