added pw change modal
fix changepassword
fixed modal in view.html
added cancel functionality to inputfields + fixed response in case of bad requests
fixed closing of modal, when pw was changed
token now gets refreshed after changing the password
PHOT-62: Added Test for ChangePassword
Merge pull request #6 from VincSch/PHOT-62

Phot 62
Merge remote-tracking branch 'origin' into PHOT-20

Conflicts:
	src/main/java/de/htw/sdf/photoplatform/webservice/Endpoints.java
	src/main/java/de/htw/sdf/photoplatform/webservice/controller/UserController.java
	src/main/webapp/js/app/controllers/profilecontrollers.js
	src/test/java/de/htw/sdf/photoplatform/webservice/UserControllerTest.java