Add Chisel support

This still has one important bug: dependencies on the header file
generated by Chisel aren't actually tracked -- in other words, you
have to run make twice to reach consistancy (once for Scala, once for
C++).

I hope to eventually fix this bug, but I figured I'd commit while I
had something kind of working.