Issue statuses api implementation

Expose issue statues to API.

Partially re-implements pull request 26 by @rrecio rrecio/redmine@c669a8d with proper testing and better route handline.
@jplang This is the request for issues/7180 List of statuses in REST API