Create images serializer class, add application helper for rendering jso...

...n, methods on IndexController for JSON API calls