npm and bower libraries update
fixed bugs with new libraries, introduced localStorage instead of cookies, and phantomJs instead of chrome for client tests - general refactoring