detect single_inheritance

That way, people who want to name their table prefix_prefix_something still can.
Merge pull request #3 from greg0ire/patch-1

Bugfix by greg0ire : allow for `prefix_prefix_something` WP tables