Track only method calls of wpdb, and account only for cachable result in cache checks

Closes #180
Closes #178