add post resource and configure it for ushahidi backend
fix two lint issues