A tax expert shares 3 little-known concepts every real-estate investor should know about, including one that could eliminate capital gains taxes