[#1373]  Give datastore_search_sql own auth function.  Before it was going though normal datastore_search auth function which made no sense as their was no resource to check.  It was picking a random resource to check agaist!   This patch also fixes a very minor unicode bug.
[#1373] fix pep-8 issues
Merge branch '1373-anon-user-datastore-search-sql'