cleanup code
add code for writing/searching/printing events
remove groups, add user levels
event_del action
cleanup code, fix perl scripts, add help message
user.c: add password length checking
perl: move query to eventdb.pm
user.c: improve level checking
update tests.sh