faster processing of get_services

Signed-off-by: Sven Nierlein <sven@nierlein.de>
remove unused variable
retain order and add peer_key
rename last_state_change_order column
speed up status page