first part of refactoring for transactions page
make add and edit operations in modal window (save not included yet)
replace js libraries by corresponded gems
remove unused code
change transaction menu from dropdown to separate buttons