Make app env variable global

No need to get it with ajax each time its required.
Mark fields being throttled as such

So can't click register-button when some changes are still waiting for autosave to even start.
Disabling versioning for Programs.

* Updating program data fast causes VersionErrors in mongoose.
* There shouldn't be any cases where versioning is necessary.
Move all environment flags and settings to env.js

And don't boot server if app.js required from another script, add start/shutdown hooks.
Create sequence if necessary
env to access test-content with a real browser, for debugging etc.
Selenium tests for basic cases
Add extra classes to elements not easily reachable from webdriver

I have decided that ".x-whatever" means classes only required by tests.
selenium: Add test for reclassification
Merge branch 'master' into selenium

Conflicts:
	server/app.js
Fix tests. Classifier is now included in classification email receiv.
Merge pull request #76 from kavi-fi/selenium

Selenium