[Time] Fix JS style
[Time] Throw if constructor not called as constructor
[Time] Use std::unique_ptr instead of std::auto_ptr
Merge pull request #185 from cmarcelo/time-small-fixes

Time small fixes