Added the first almost-useful web methods.
Added test mode to prevent mixing up dev-tdbs and test-tdbs.
Prevent test mode request when normally started.