Set status 412 on security exceptions

One could argue for 403, but I think 412 is more appropriate.
Merge pull request #18 from owncloud/setStatusOnSecurityException

Set status 412 on security exceptions