part way through reinstating app
Have most of the precrash functionality operational again. Still need to get address_types to be correctly validated on customer form submission, and create the views for the company class
Merge https://github.com/cirnius/tradiepos

Conflicts:
	Gemfile
	Gemfile.lock
	Rakefile
	app/assets/javascripts/application.js
	app/views/layouts/application.html.erb
	config/application.rb
	config/environment.rb
	config/environments/development.rb
	config/environments/production.rb
	config/environments/test.rb
	config/initializers/secret_token.rb
	config/initializers/session_store.rb
	config/routes.rb
making sure everything is up to date