Build: move er-coap-13 from externals to core.

Also fix include paths and CMakeList.txt in tests/

Signed-off-by: David Navarro <david.navarro@intel.com>