fixed typo and missing 404, added max limit

* fixed typo on util.py
* accessing non-existing item in api now returns 404
* added max_limit for max result items