Added app css file

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Fixed an error where comment count on none comments caused an fatal
error.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Removed old $actions array

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Changed old $action style to $access and $events
Optimized URL creation on no raid
Added comments.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Changed $actions to $access and cleanup

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
General overhowl.
Changed $actions to $access.
Changed functions to be explicit public.
Changed comments.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
General overhowl
Changed addMenuButtons() method to provide only allowed and usable menu
items and added comments.
Reformatted $config definition.
Removed not needed onEmpty() method.
Changed generalAccess() method to use query definition instead of using
setters.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Fixed an error which occured when trying to count a none countable
comment var.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Fixed error which occured because a side would be at least an empty
array, so the chack had to be changed form isset to empty.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Code review
Reviewed all models and added missing class comments, removed not needed
statements and rewrote queries to use new query definition style.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>