Rest API

Added main foundation for rest api. This includes everything in the sys/api/ folder.
.htaccess will redirect request/{object}/{method}/{type}/{args()} to sys/spi/rest.php where the asei and htmlOutputHandler object will be included.
asei will handle JSON, XML, and STREAM request but will raise a server-event when handling HTML. The htmlOutputHandler object will be hooked for the event and take-over output for the response.