Further refactorizations.

Added sample Service (not Resource) to example. Moved dispatching
algorithms to Dispatchers namespace, made them final. Moved uri_decode
to Utils.