implements getBare() function

This function does a more thorough stripping of tags and should probably
be used instead of the php strip_tags function for most of our uses.