Upgrade gems, small fixes

Changes:
    * updated gems to latest possible versions
    * added jqeury-migrate because of new jquery-rails
    * updated jquery-ui to 1.9.2
    * fixed missing jquery-ui assets
    * fixed tests