Security model changed

* modified security model
* angularjs upgraded to last 1.3 beta
* added thucydides testcase for adding comment