3 0 github+escaping fixes

There are cases where we allow things like branch and label names in URLs, and the Rails URL helpers are supposed to escape reserved characters like `%`. Our rails 2 seems to do this properly but our rails 3 does not.