Location service modified

1. extract ip of incoming request
2. IP based authentication for register and deregister APIs
3. modified loc_register, loc_deregister and function definition of executeAPI and authenticateAPI
4. pqxx notification syntax error -> #include <pqxx/notification.hxx> added
5. memory leak solve try 1