Merge pull request #2 from bengourley/master

Strip unknown properties from objects on retrieval as well as persist
Ready for npm
Expose idType on service