User impersonation and vlan smart searching

These 4 commits reintroduce user impersonation for the nipap command line and add the possibility to smart search on the vlan field. Also includes a search command for the nipap tool in order to smart search with the command line.