Generate requirejs config in ruby

This is a precursor to removing the need for applications to reference
specific Dough components directly
Merge branch 'ruby_generated_requirejs_config'
add devise gem
change test session store to use activerecord

from cookies. This is because devise which uses warden sticks the entire user object into session which is too big for cookies
run devise install scripts
WIP add devise registrations
setup database before tests
remove redundant code
install devise new registration view

so it can be customised
Pop registration page in layout
devise now compatible with old site

a user registering on either site can now log into the other site
Adding form row helpers, styling form
Adding correct label classes
Adding dummy breadcrumbs
Example intro paragraph
configure test database to use mysql and avoid the index name limit issue
allow uncofirmed access so public website does not kick you out
Adding dough ruby
revert db configuration, use sqlite as a test db
only keep schema of users, customers and sessions tables