Compatible with Redmine 2.3.x

* prototype.js -> jQuery Conversions.
* rhtml -> erb
* Rails3 html_safe
* Fixed Compatible with Redmine 2.3.x

ref http://www.redmine.org/issues/13753