various cleanups

fix bool -> Boolean for consistency in other parts of twig's code removing
assignment to n as it is never used fix typo and docblock for consistency 
remove line break not needed for consistency fix array docblock for
consistency