[#1530] Add tests, use utf-8 for FriendlyForms

FriendlyForms defaults to latin-1 this means that request parameters
would get encoded as utf-8 strings and then interpreted by FriendlyForms
as latin-1, so you would end up with a python mangled unicode string
containing utf-8.