dan/ken: fix error in error message when trying to add a resource with *...

...empty* title and/or *empty* url

![lalallala](https://f.cloud.github.com/assets/3147345/1731199/b6db05e6-62fd-11e3-8084-be1bbd9862c3.gif)