Fixes for #55 and #56

Be sure that [this PR](https://github.com/symphonycms/symphony-2/pull/1611) gets pull in before we apply this one since the `HTTP_STATUS_NOT_MODIFIED` constant is need.