Refactored masternode/systemnode related functions to be const
Refactoring is done based on @vshamray comments https://gitlab.crown.tech/crown/crown-core/merge_requests/111
Refactoring is done based on @vshamray comments https://gitlab.crown.tech/crown/crown-core/merge_requests/111