Export manifest logic

Manifest files are currently created by running `grunt manifest` task.

In order to give 3rd party applications (eg. download builder) custom control over manifests, eg. ability to merge special `_` field (we need a name for this special feature), this PR exports manifest API.