created unittest for Labels-API
addes some small comments
add a paging to the issues
put the token in the header so it won't appear in accesslogs
make all my listbased methods work with paging
changed API to use int for id's
add sudo option