Add separate npm Karma script, invoked by npm test

Signed-off-by: Alex Coles <alex@alexbcoles.com>
update rails to 3.2.20

This is a security fix against a file existence exposure CVE-2014-7819

see:
http://weblog.rubyonrails.org/2014/10/30/Rails_3_2_20_4_0_11_4_1_7_and_4_2_0_beta3_have_been_released/

Conflicts:
	Gemfile.lock
Fix sprockets file exposure vulnerability

There is an information leak vulnerability in Sprockets. This
vulnerability
has been assigned the CVE identifier CVE-2014-7819.

see:
https://groups.google.com/forum/#!topic/rubyonrails-security/wQBeGXqGs3E

The patch given in
https://15028051456732132684.googlegroups.com/attach/7887e1a7070ca526/2-12-sec-static-files.patch?part=0.0.1&view=1&vt=ANaJVrGrEs8fNpWjOUFuf3p1rWA83Dw-kPMJ8qeYExCi_n6nnuHcw53a2rWDfBwsfeA06s9Okm3LkpBK1W_b0vsqlsNAHGW1g0Z0T8WcmWxvqJCshdVpLts

Was manually applied to the backport branch.

This commit can be reverted as soon as sprockets 2.12.X is used.
Add ruby 2.3.1 to setup
Update ruby version to current stable 2.1.4

This release includes security fixes for the following vulnerabilities:

* CVE-2014-8080: Denial of Service XML Expansion
* Changed default settings of ext/openssl related to CVE-2014-3566

And there are some bug-fixes.
Add debian/ubuntu installation guide

This way we can bind our documentation to the source code.
Things will never get out of sync and we can (hopefully) sometime
automatically take this documentation and put it on a fancy help page
somewhere.
Merge pull request #2125 from opf/hotfix/set_ruby_version_for_pachager

Hotfix to set ruby version for packager
use private sprockets fork

The sprockets maintainer yanked the sprockets version we
use from rubygems. It happened that I had the specific sprockets version
at my harddrive.

We really should update sprockets, but until this happens, the fork can
be used.
Merge pull request #2124 from opf/hotfix/user_guide

Add Debian/Ubuntu Installation Guide
Merge pull request #2130 from opf/hotfix/yanked_sprockets

use private sprockets fork
Merge pull request #2113 from opf/fix/add-npm-run-karma

Add separate npm Karma script, invoked by npm test
Add packager installation guide

Also moved manual installtation guide to operation_guides
to be more flexible which kind of documentation will be
placed into this folder.
Minor changes of style
Merge pull request #2131 from opf/hotfix/packager_installation_guide

Add packager installation guide.
Merge pull request #2117 from opf/hotfix/rails_3_2_20

Fix CVE-2014-7818 and CVE-2014-7819
Add ubuntu and centos distributions
Update README.md

changing feature and help links
Merge pull request #2133 from opf/hotfix/packager_add_ubuntu_and_centos_support

Add ubuntu and centos distributions
Bump version to 4.0.1
some dirty changes for multitenancy to work