The code requirements for building decks are always changing, and many homeowners may not be as compliant as they think. Here's what you should know.