[BUG] [PATCH] Allow https URIs to be supplied for rails templates

$ rails new testrails -O -T -J -m https://github.com/xaviershay/sandbox/raw/master/rails/template.rb
The template [/private/tmp/https:/github.com/xaviershay/sandbox/raw/master/rails/template.rb] could not be loaded. Error: Could not find "/private/tmp/https:/github.com/xaviershay/sandbox/raw/master/rails/template.rb" in any of your source paths. Your current source paths are:
/Users/xavier/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.1/lib/rails/generators/rails/app/templates

I have attached a fix with test, just needed to change the
regex. I also performed the following test to confirm it worked
(after temporarily adding 'i18n' gem to the Gemfile):

The priority on this should be "HIGH" and it really should be
included in 3.0.4.

It's a tiny fix but without it, any application generator
template hosted on GitHub is inaccessible.

GitHub recently changed all URIs from http to https to increase
security (subsequent to awareness of the Firesheep exploit). Many
projects that offer an application generator template put them on
GitHub.