COAP-9,10 Fix parser zero-length token issue; more WIP for example server

* Fix COAP-10.
* Add name resource to example server
* Add comment to coapResource for method return structure. Begin to use
  Sphinx format for comments.