Full user logic - registration added, fixes in controllers and htmls. Changes in NodeJPA connection. Additional form on index page.

Almost final version
beta8

TODO:
getOrderByuserAlias logic (Peter)
Payment TBL logic (Nik)
Frontend tests
Frontend User logic (So that they cannot make stupid mistakes)
...will merge this one with Peter's update.
Almost final version ;)
beta9

TODO:
Some frontend tests

and documentation.. xD
Frontend user logic with messages, so that they cannot make stupid mistakes ;)
will merge with Peter's code
Almost final version
beta9

TODO:
Some frontend tests
Documentation
beta9
Merge remote-tracking branch 'origin/Boyko' into Peter3

Conflicts:
	public/app/viewCustomer/viewCustomer.js