Added ignore list for indentation checker.

Indentation checker gets list of prefixes to ignore (this feature
was added due to style rule: don't indent \begin{document} and
\end{document}).

Also some map() was replaced by lazy itertools.imap() for better
efficiency.