Catch negative 'offset' params passed to the API and return 400 error

Summary: This avoids an SQL error for a negative offset.

Test Plan: Pass a negative offset to posts API. See a 400 error, not 500 as before

Reviewers: eyedol, shadowhand

Reviewed By: shadowhand

Differential Revision: https://phabricator.ushahidi.com/D208