rustpkg support (and a few language updates)

I realize this library won't have a long future in servo, but it's useful for a project I'm working on, so I've added a pkg.rs file.  You'll notice that I made a few missteps along the way while trying to get this to work -- let me know if you want me to squash some of these commits together.

I also fixed some language issues in the test code.