Fix parser bug

closes #3404

The python getpot parser can now handle ticks after a comment (simply by ignoring them)