Refactor metadata to parse ERB comment block

Also:
* move any output to main rake task (WIP)
* Add tests for metadata, map_oses, and main rake task
Fix error with missing metadata
Bump to 1.3.1
Fix jenkins task loading issue in production ; bump to 1.3.2