Nightly updates

A few changes to make the library compile against the current (a3b28cb 2014-04-28) rust nightly.

The main change is the fact that `~[T]` isn't growable anymore, so I used a `Vec` instead.
There are also smaller syntax updates to fix a few warnings.