Created posts table migration and fixed environment issue

Summary: - local is now set to check for hostname = vagrant

Test Plan: manual revision

Reviewers: pwningnoobs

Reviewed By: pwningnoobs

Maniphest Tasks: T7

Differential Revision: http://phab.nickc.io/D6