Properly return 404 when requesting invalid paste.
Correct way to test is_private flag.
Update gems.