activate C extension

please merge the attached patch to activate the C extension. I've also moved around some stuff so that rake-compiler can find all the files. additionally i have moved to SimpleCov for ruby 1.9 compatibility.