docs(state): finishes documentation for state
docs(urlRouter): updates urlRouter docs

replaced the example with a much better one
also improves .sync() method docs