initial mazacoin conversion from bitcoin

initial conversion of mazacoin based on the latest bitcoin/master branch