Fixed cors problem with submitting metrics
Added unit tests for type and cors
updated definitions for build notification
Documentation updates
added custom type documentation