Update VERSION checking

* Ignore .git for grep
* Check for WP 3.9
* Revise WP plugin keys
* Update VERSION checking