add #warn function to formatters
Merge pull request #943 from berkshelf/add-warnings

add #warn function to formatters