[authlevel] make apiserver use authlevels;
[style] formatted source via astyle, added astyle-options file;