Fix /p/post/user route not saving referrals

Make user id optional for /p/id/uid
Add /posts/id/raw route for debugging failed post processing
Merge pull request #2531 from riking/post-route

Fix /p/post/user route not saving referrals