Adding responders gem to clean up controller code (gh #14)

Using responders gem and respond_with method, the rendering logic is
simplified greatly.