Move ServerDate.js to lib directory.

Comply with CommonJS package format.
Create package.json from npm init.