DEBUG without DEBUGMALLOC_EXTENSIONS now works.
Reorg options.h

Also seperate local_options.test for dev and release version.
Update travis config to test both dev and release config.
Fix PACKAGE_DWLIB build with ADD_ACTION.