Added the debug compile flag.
Changed the type array size argument in listToArray to unsigned int.
Minor fixes to the test suite.
Replaced the manual DEEP and SHALLOW copy/free options with automatic reference counting. Replaced the previous listToArray function that returned an array of pointers with a new one that returns an array with the actual elements.
Removed the need for user memory allocation in the constructor/copy function and replaced the usage of memcpy in listToArray with the new copy function.
Merge branch 'master' into reference-counting