Rules, deadlines and overlooked details can affect how much profit you keep. While most people assume taxes will be straightforward, experts say otherwise.