Upgraded to Rust 0.6 syntax.

- removed pub from `pub impl A for B`
- replaced `const` with `static`
- implemented `Drop` and `Index` traits
- removed `pure` and `static` function keywords
- removed `DVec`
- added `self` parameters to methods
Specify types on `cast::transmute` calls.
Move attributes outside of test function.
Change `fail_unless!` to `assert!`.
Merge pull request #1 from metajack/rust-0.6-syntax

Changes for new Rust 0.6 syntax
Update code to use unwrap method.
Correct visibility of implementation.
More 0.6 changes.
Merge pull request #3 from metajack/rust-0.6-more

Rust 0.6 more
Merge pull request #2 from metajack/option-unwrap

Update code to use unwrap method.
Make CFData implementation public.
Merge pull request #4 from metajack/cfdata-public-impl

Make CFData implementation public.
Add license
Remove unused imports.
Merge pull request #5 from metajack/remove-imports

Remove unused imports.
Add license headers