added common sub module

Signed-off-by: Christopher Ross <cross@thisismyurl.com>
rewrite for WordPress 3.6

Signed-off-by: Christopher Ross <cross@thisismyurl.com>