Use class eq checking instead of reflection as getCanonicalName has a large overhead
Merge pull request #22 from ahollinshead/master

Use class eq checking instead of reflection as getCanonicalName has a la...
Enable scala 2.9/2.10 cross build
Only convert args from list to array if they actually exist

Profiling tool suggested this was using disproportionate amounts of CPU
as it was using reflection to create the new Array

Tests afterwards indicate a performance improvement but not a
dramatic one
Merge pull request #26 from gheine/master

Enable scala 2.9/2.10 cross build
Merge pull request #25 from ahollinshead/master

Only convert args from list to array if they actually exist