root api now 404s on a non resource
made root check  with less overkill
Merge remote-tracking branch 'origin/root-enhanced' into linked

Conflicts:
	api/__init__.py
	test/test_api.py