Add to ErrorManager an recording limit

Add to ErrorManager an recording limit to avoid possible out-of-memory
errors in case of layout errors when dealing with large files. After the
threshold is reached, successive errors are ignored.

Also updated the ErrorManager data structure to List<ErrorInfo>.
Merge pull request #16 from BigDataCorp/upstreamMaster

Add to ErrorManager an recording limit