Initial unit tests
Basic express server tests and clean up
Make sample runnable on express 3.x
Retry the records which got failed to be pushed
Change indentation to 2 spaces and add license

Remove spaces
Merge pull request #39 from dibyom/master

Test cases and small fixes