Add line numbers to error output.

This will make it easier to debug larger configs.

Do note that the log formatting is a little less neat from it now. This might need cleaning in future but its ok for what was needed.

The messed up part of log formatting is only the fact that the line numbers are placed in a spot that would make lines not unified if read side by side along a verbose output (Showing each line of config) but this doe snot matter since Its actually easier to spot out an error this way.

I TALKED TO MUCH GAH!