functional test update

Changed the integration test to use a PHP array driven dataset instead of the XML dataset. This will allow us to create a generic database structure, yet still allow us to test for stale nuts using current time instead of having to create the database data manually in the test. We can also use utility functions to define the data instead of having to pre-caculate values (i.e. ip2long)