Merge pull request #394 from joola/feature/#393

#393 Added domain management on routes
#392 added partial support last_n_items query
Merge branch 'develop' into feature/#392

Conflicts:
	lib/dispatch/index.js
Merge remote-tracking branch 'origin/feature/#392' into feature/#118