move utility methods inside module namespace

Cask::Utils
Merge pull request #4964 from rolandwalker/namespace_utils

move utility methods inside module namespace