WIP: final finish

Everything is now ready. DOCS.md has all functions and some examples.
class file has gone completely object oriented mysqli. Final touch to
sql and checks.php.