Doc comments for hal and lib.
Merge pull request #118 from bharrisau/doc2

Doc comments for hal and lib.

Reviewed-by: farcaller
Last set of doc comments

closes #82
Some cleanup of files and todos

We should be using UnsafeCell, but we can't until there is some movement
on using static with internal mutability (we should technically be using
static mut, as static should be in the rodata section).

Also dropped the stats collection in favour of parsing the Travis logs.
Merge pull request #122 from bharrisau/cleanup1

Some cleanup of files and todos
Merge pull request #121 from bharrisau/doc3

Last set of doc comments
Move `lib/support.rs` to zinc crate -

As discussed in #106, this removes a bunch of functions that are no
longer needed and only keeps the ones it doesn't compile with. It's been
verified that there no symbols pulled into the ELFs from anywhere that
would be the same as the ones removed by this change.