allocator_api 0.4.0

This is a copy of the unstable allocator_api (https://github.com/rust-lang/rust/issues/32838) and of parts of the unstable alloc feature. Usable with stable rust, but requires 1.26.
Documentation
dist: trusty
language: rust
matrix:
  include:
  - rust: 1.26.0
  - rust: stable
  - rust: beta
  - rust: nightly
cache: cargo
script:
  - cargo test --verbose