fix #29

Added working constraints in json
fix #29

creation of 2 json objects for the structure and the constraints
fix #29

separeted struct and constraints objects in javascript
clean code
variable cleaning
Merge branch 'json-Constraint' into developpement

Conflicts:
	src/main/java/server/Server.java
	src/main/webapp/js/functionStyle.js