Fixing BUG 13592

Store and use start and end line numbers
Tests also updated
I also had to change the POM file in order to use NetBeansIDE