fixing hardcoded path to configuration in rpcserver.py

Path was hardcoded in methods update_config and get_config,
it didn't handle custom projects directory passed by command line.
Now projects_dir is a parameter of the class RemoteControl.
The default value is 'projects' to maintain the older behaviour.