MRG: use compiled executable to generate test data

Instead of using the CINT scripts to generate the TTrees (I couldn't get them to work...) this PR converts them into one source file that is compiled into a `generate` executable.

This PR should be merged after rootpy/root_numpy#50 (only the last commit below is for this PR).