Added Composer to manage autoloads and HTMLPurifier and Smarty.

Install by doing (from htdocs):
$ curl -sS https://getcomposer.org/installer | php
$ ./composer.phar install

If you want to update autoloader:
$ ./composer.phar dumpautoload
Fixed ocde label in composer.json.
Missed some autoload-code in old lib. Replaced by composer autoloader.
Changed PSR-0-path to lib/, added OKAPI SVN for checkout.
Tabs to spaces (no code change).
Consolidated coordinate calculation methods into Conversions namespace.
Separated locale settings into one file per locale. Backwards compatible!
Switched PSR-0 to PSR-4 (our new code is already PSR-4 compatible) in Composer.

Run ./composer.phar dumpautoload after pull!
Merge pull request #133 from mbirth/code-upgrade

Introduce Composer and upgrade code

merged...