Change scripts hierarchy
Refactoring and fix ajax processing
Fix redirect processing
I wanted replace data attributes in html on javascript function,
but there is many nonstandard situations with data-method etc

I saved my code for future
Migrate to ruby 2.0

+ update gems;
+ temporary bugfix:
  + comment require 'test_helper.rb' in test;
  + delete unit test helpers.
+ delete encoding for utf.