Improve error handling in incremental compiler

Record more information in case we fail to parse analysis file.

Motivated by: https://groups.google.com/d/msg/sbt-dev/KmGEhFTMve0/1MwyZsjWQDQJ