adding 'lib' directory to autoload_path
encoder implementations for all formats except html
removing '; charset=utf-8 because it's handled by rails
add dynamic routing to config/routes.rb , add dynamic_restful_controller