Corrected flipped logic on DDR register. OUTPUT = 1, INPUT = 0 according to Atmel datasheets.
Updated header to match changes to generation script.
Fixed flipped pullup bit. Also forced pullup bit low for INPUT.
Merge pull request #1 from vikethehube/fix-pinmode-template

Corrected flipped logic on DDR registers, output register setting for pullups on INPUT & INPUT_PULLUP.