Display actual file and line number where the sql error is occured.

Make a change to display actual file and line number where the sql error is occured.
When there is a sql error it will also display model file name where the error is occured.
Merge pull request #366 from jimymodi/master

Display actual file and line number where the sql error is occured.