Adds some more rails initialisation

Taken from
https://github.com/dennybritz/rails_startup_template/blob/master/template.rb
Ignoring .DS_Store files
Improves the python 'all' snippet

Now a locator is over the '<file>' argument which
may or may not be required, especially with simple
test files