model modified TODO: repair and finish

problems with uri generation in model
added json library for handling jira responses (more info:
http://www.json.org/javadoc/index.html?org/json/JSONObject.html)
few fixes here and there