renamed postgre.py into postgres.py, removed starts/ends with overriding in PG adapter
Fix for issue 1996
This bug was caused by appadmin creating unnecessary files in the cache folder.
Fix for sanitize('&#x27;') returning '&amp;#x27;' instead of '&#x27;'
fixed remaining methods in HTMLParser that were still using the old htmllib.HTMLParser interface
Merge pull request #527 from ilvalle/tests

few more tests: gis functions, starts/endswith
pg8000 doesn't support json at all
added space for testing
Merge pull request #528 from ilvalle/pg_rename

renamed postgre.py into postgres.py, removed 2 overriding PG
merged
Merge branch 'leonelcamara-issue_1996_appadmin_cache_disk'
Cleanup: Removed presumed debug print statement.
fixes issue 1998
some freezers publish also __file__ in globals()
Merge pull request #531 from leonelcamara/apostrophe_fpdf

Fix for sanitize('&#x27;') returning '&amp;#x27;' instead of '&#x27;'
Merge branch 'fix/pg8000' of https://github.com/niphlod/web2py into niphlod-fix/pg8000
Merge branch 'niphlod-fix/pg8000'
Merge pull request #533 from jotbe/master

Cleanup: Removed presumed debug print statement.
Merge pull request #534 from niphlod/fix/1998

fixes issue 1998
Merge pull request #535 from niphlod/fix/binaries_switch

fix binaries build. thanks @David Ripplinger
Merge pull request #1 from web2py/master

Syncing with upstream.