Fix JSLint analyzer exception when reporting error
Fix JSLint analyzer exception when reporting error

An exception was thrown when trying to set analysis.error = []
because it is a readonly property. I updated the code to use
the add_error method instead.

azavea/blend,azavea/blend