Bump NPM version to 0.4.24 in preparation for publishing.

While we're at it, also require the latest version of ast-types.