finished fix of annotation_categories/

 - fix tests issues
 - fix error issue already present in master
 - replaced all .rjs with .js.erb
 - add automatic select field for add_annotation_text