Resolve NPE while accessing lists/arrays outside of their defined bounds.

Fixes jknack/handlebars.java/issues/197
Merge pull request #198 from pfumagalli/master

Resolve NPE while accessing lists/arrays outside of their defined bounds.