Add unquote_str to compat module

This gives us a single consistent interface that allows us to
urldecode and string and decode it to unicode in a single function.
Fix py2 failure in unquote_str
Merge branch 'unquote_str' into develop

* unquote_str:
  Fix py2 failure in unquote_str
  Add unquote_str to compat module