General refactor

1. malloc --> dlmalloc (Dag Lee heap)
2. changes related with item 1
2.1. all meta uses memory pulls
3. adds support for non-default constructors
4. switched to autotools