fixed posts.json, it can be parsed now;
fixed initdb.js, it adds test posts now;
updated post model to include unique field;
updated user model to be compliant with code standard