Add returnType and returnFormat parameters

Allow output to be parsed and formatted with momentjs using returnFormat pattern.
Fix moment returnType
Update version number
Bump version number
add test spec
add test spec