administration API

- manage machines, products, testsuites and jobtemplates
tests for administration api
use admin API in admin web pages

- changed templates
- dropped old html-only code for db modification
- updated tests