Updated for Composer and PHP 5.3

I created a new php52 branch for compatilibity with PHP 5.2, and added
the following to the main branch:

- Travis-CI file for automated build testing
- LICENSE file, also changed from LGPL to MIT for less restriction
- Moved class to ActiveResource namespace with optional global alias
- Added phpunit config for test automation