Bump minimum required WordPress version to 3.7.1

Let's bump the minimum support WP version to 3.7.1.

Whilst we are doing this we can also get rid of some older back-compat code.