fixed get and select shared directory and added a file for global variables.
Fixed incorrect global variable declaration.
Api server now has simple authentication in place, yet to be tested.
Authenticator still not tested, compiles now.
Updated the json specification according to the changes in the data model. Added an rpc call to only search for files locally.
added Add client and fixed up search view a bit
added Add client and cleaned up search view a bit
Added addAuthStamp() function.
added a label to show number of results found, clients are now removable, a nicer search icon added to searchbutton
Started working on function that saves the whitelist as a txt file. Currently does not start writing from end of file.
generated the api-to-api client
changed some names, minor commit
Merge remote-tracking branch 'origin/api_to_api' into rpc-functions

Definintely not bug-free!

Conflicts:
	api/src/api_server.h
	api/src/main.cpp
	api/src/main.h
Added functions for getting list of clients.
Removed function that is not supposed to be used
Merge branch 'rpc-functions' of https://github.com/luuse/NoHassleShare into rpc-functions
Disabled authenticiation for now.
ApiServer now takes a port as an argument.
Merge branch 'rpc-functions' of github.com:luuse/NoHassleShare into rpc-functions

Conflicts:
	api/src/api_server.cpp
stash merge conflict, fixed.