Move commands method from global to inside Specinfra

Fix for #160
Merge pull request #161 from serverspec/move-commands-global-to-inside-specinfra

Move commands method from global to inside Specinfra