Make test_* scripts run the tests when called directly instead of using the nosetests script
Merge pull request #28 from f0k/test-scripts-run

Make test_* scripts run directly
add error check for init cublas
add max_ones arg to cublas init
add ones-reduction allocation checking
add CUBLAS_MEMORY_ERROR
add more detailed CUDA error checking feedback

- also simplify error checking wrapper
remove redundant error check