Move format appending to hook_url_outbound_alter
Less permissive regex than resource*
Get explicitly set format, and clarify documentation