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