Rest Updates and Extended functionality

First, all libraries were moved to sys/lib and api and lib types in config were combined so that all
requests will always load the same libraries in the same order. On that note, some additional libraries
were created.

        Data: data()
        Extends mysqli functionality and represents a table in the connected
        database.

        Data Object: dataObject()
        Extends data() and represents a single record in a table.

        API Object: apiObject()
        Created to handle all types of requests (GET, POST, PUT, DELETE). API accessible
        objects will extend this object to be able to respond correctly.


REST input format was changed to request/CLASS/RECORD/TYPE or request/CLASS/TYPE. REST requests
now distinguish GET, POST, PUT, DELETE request methods and will pass that on to objects.

ASEI was updated to to seperate GET, POST, PUT, DELETE methods. ASEI will now also only take 
commands from registered objects requests; meaning that if an object has not been registered
with asei by the server, the class or object will not be accessible, limiting the calls to
only public methods on the object.

Security was added to init.bin, and most rest.php functional code was moved to init.bin. The
security is now configured in the global config by group. Currently there is a forced static group
of 'member' which has no access to any objects. Additionally, init.bin will now pull a global config
list of objects to self-register with asei at startup. This currently includes user.lib.     

The index was updated so the example works.

The htaccess was updated to support the new rest format.

The global resi.conf was updated with additional parameters to support new code changes including
permissions mapping for the user.lib