added method for hash ip with secret for api
added form for generating hash using secret
added methods to set flag using hash and generate hash method
Merge branch 'master' of https://github.com/Sets88/nodectrl