url_shortener_controller.rb written. Some fixes.
Some fixes in url_shortener_controller.rb