fix log messages for masternode/activemasternode (and trim trailing spaces)

I did some simple cleanup, please merge