Get rid of namespaces so that we don't need PHP 5.3 to get the plugin to work.

Place class loader in its own top-level function.
Replace use of 'wp_url' with site_url() as that's better for non-root hosted blogs.