Add #to_s method to VERSION modules

Needed to work with edge rails, due to this change: https://github.com/rails/rails/pull/8501
similar to this issue for jquery-rails: https://github.com/rails/jquery-rails/commit/b546434a2dba7061cb658ba5d302bfc37ceb2e2f