Add location of error to console output by showing related elements

This adds the ability to track down the source of problem by outputting all of hte problem releated elements. The elements can then be clicked in the console to track down the exact location of error by using the element inspector. Fixes #29.

Tested in Firebug and Chrome. Chrome looks a little bit strange, but works by right clicking the element and click on "Reveal in Elements panel".