Added Makefile.
Moved data tests to a separate file.
Modified makefile.
Make breaks if a test fails.
Lua test file returns number of failed tests as the return code.
Added more tests for data_item.
Slight change to API to create a new data item.