Unescape Javascript code no matter what

Rails 4.1 has better JSON encoder. Everything boils down to JSON literals and
all strings are escaped. The JavascriptCode class too boiled down to an escaped
string.

Here we just gsub the quotes out.
added wrapper_options argument to def input
Chinese Translation
Merge pull request #373 from abdulsattar/master

Unescape Javascript code no matter what
Take relative base URIs into account

For example, when installing to a sub-uri with Passenger.
Merge pull request #452 from jasonmk/patch-1

Take relative base URIs into account
Merge pull request #446 from arthurtalkgoal/master

Chinese Translation
Merge pull request #443 from dronov/master

added wrapper_options argument to def input
make cancan authorize work
Merge pull request #460 from zhanglinjie/patch-1

make cancan authorize work
merge upstream