Working on Unit Tests.

Changes:

* Added unit testing framework (as in directory structure and configuration/setup files)
* Updated phpunit.phar to v3.7.24
* Can now run Core and Wrapper tests with one call to phpunit.phar
* Added phpunit.xml and bootstrap.php to setup and autoload classes for Wrapper tests/base.php
* Added autoload.php for two reasons
    * Users that don't have or want to use an autoloader can include autoload.php to autoload PhpRbac/Rbac.php
    * Helps autoload PhpRbac classes and *Test.php classes for use in unit tests/base.php
* Created 3 separate database.config files: one for core/production use, one for Wrapper testing, one for Core testing. Will merge the Wrapper and Core tests/database.config once we're finished converting Core to PSR compliance
* Started working on base for PhpRbac unit tests (RbacTest.php), including using setUpBeforeClass() phpunit fixture to instantiate the Rbac class for use during unit tests

Next: I need to start reading the code from phprbac v1.0 so I can make accurate unit tests, then start working on the unit tests.
Fixed an bug regarding where we pass the table prefix to the jf class. This prevented queries from attaching the prefix to table names.

Also added a phpunit.bat so windows users can run unit tests from Windows Explorer.
Completed a few Unit Tests. Additional changes: see extended commit message.

Started using DbUnit extension for tests:

* Created Generic_Tests_DatabaseTestCase.php to use xml configuration 'var' database connection info
* Created fixture database-seed.xml dataset
* Created datasets for 'expected' database states (for completed tests only)

Did a lot of work to setup the environment:

* Separate xml configs: One for core tests, one for MySql Wrapper tests and one for SqLite Wrapper tests
* Created Windows batch script to run all tests. The script will pause between tests, allowing user to view test results before moving on to the next test.
    * Linux/Bash users will need to run tests using the following commands:
        * php phpunit.phar -c phpunit_core.xml
        * php phpunit.phar -c phpunit_mysql.xml
        * php phpunit.phar -c phpunit_sqlite.xml
Finished about 2/3 of the unit tests.
Completed tests for RBACBase methods. Separated RBACBase methods from entity specific methods to minimize unit test errors and duplication of effort.
Finished PermissionManager unit tests. Did a little restructuring, separating unit test datasets by class/type.
Completed UserManager Unit Tests.

Added temporary jf::CurrentUser() static method. See Issue #2.
Completed UserManager Unit Tests (Last commit message was a false alarm).
Created a bash shell script to run all tests.
Completed Unit Tests for RoleManager.
This commit addresses Issues #2, #3 and #6. See extended commit message for further details.

Resolves Issue #2:

* I have removed all references of 'jf::CurrentUser()', made $UserID mandatory, and have added an exception if the $UserID is not provided. This exception will add flexibility to PhpRbac's testability and error handling capabilities.
* I have updated all affected Unit Tests associated with these changes, while adding Unit Tests as needed

Resolves Issue #3:

* Along with the changes from Issue #2, I have removed the references to jb::run and added the 403 header along with a die which displays a 'Forbidden' message if the check in $rbac->enforce fails
* If the check in $rbac->enforce is successful, $rbac->enforce will return true for testing and error handling purposes

Resolves #6:

* UserID is now mandatory and will throw an exception if the parameter is empty
This commit resolves Issue #5, and I believe all Unit Tests are complete.
This commit addresses Issue #11
This commit addresses Issues #11 and #12. Also started working on Issue #10.

All tests are green on Linux and Windows platforms.

Changed test scripts due to different database.config settings (mysql vs sqlite) and separate phpunit configuration xml files.
This commit resolves Issue #12.

Also made an adjustment to RbacSetup.php which addresses an issue where the first sqlite unit test method would fail due an improperly setup database. Subsequent tests would pass with no issues.
Creating commit for PhpRbac v2.0 Beta release.