Move error method into Api::V1Controller

So the error method may be used in other Api controllers move it
Api::V1Controller. Have render_404 take advantage of the error method to
reduce some duplication.
Handle negative items and start parameters

If the items or start parameters are negative render a 400 with a
helpful error message.
Merge pull request #705 from opscode/prevent-cookbook-negativity

Prevent cookbook negativity (when specifying items and start params)