Extract method
Add publicly accesible json api to query alaveteli and ruby version. Implements #834
Merge remote-tracking branch 'openaustralia_github/app_version_api_feature' into rails-3-develop

Conflicts:
    app/controllers/application_controller.rb
    app/controllers/general_controller.rb
    config/routes.rb