Moving db ops down into _lib.py

 - More sophisticated args for crawl_lib.drop_table
 - Move functionality into cv_lib.py

Change-Id: I9e716ca534fb3e5876938149c299448804aede9b