[#1277] Update to jQuery UI libs
[#1277] First semi working front end for re-ordering resources
fix for 500 error on HTTP-ACCEPT: text/plain
fix for 500 error on non-int int query parameters
fix for local use of datastore api
fix local use of datastore api without try, except
no longer sending text/plain versions of datasets
[#1277] Removed changed event as it doesn't fire
[#1277] add logic function
fix access of organizations through /group url
[#1277] Added javascript call the package_resource_reorder api call to handle actual reordering
[#1277] Added saving state for feedback to user
[#1277] Add test and auth function
[#1277] fix formatting
[#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'
Merge branch '1277-resource-reordering'
Merge branch 'small-fixes'