templates fixed
fixed trouble with encoding from protobuf lease
added controller
to dhcplib added new feature: get all leases
refacored controller class, added support of getting all leases