Refactoring comments controller and add the test...

Refactoring comments controller and add the test;

Change comments table content column type to text; 

Fix a integration test bug; (I can`t understand why somebody did`t run the test before push)

there is some wrong with my git control, so there are some commits duplicate. But take it easy. The testing is fine o_o