Fix for #16
avoid parsing twice
fix for immediate promise
add 1 test
Merge pull request #17 from glebm/construct-from-rails-attributes

Fix for #16
Updating to 0.1.4 release version