Fix 'missing closing `}`' error on therubyracer 0.11.x.

Fix also works on 0.10.x. The newer version was prepending "Error:" to
the string which was breaking the check.

Also create the new exception using the original exception so we can
trace the original cause.
move development dependencies into Gemfile