add Alinq:ToArray() method to format object data to array data

In fact ,the method just return the value of  Alinq::$datasource.
add test class that using phpunit

after compile this extension,you can use this test file to check that whether the extension is working fine.
command: phpunit --verbose test/AlinqTest.php