implement allocators

Used generic destructors and default type parameters.

Conflicts:
	core/concurrent.rs
	core/deque.rs
	core/hash.rs
	core/priority_queue.rs
	core/thread.rs
	core/vec.rs
add missing lifetimes