Support running without X on linux.

This adds the rust-layers support for using software (mesa) rendering mode.
Merge pull request #129 from glennw/headless

Support running without X on linux.