replace indent logic with esindent [WIP]

I did some quick and dirty find and replace on all the "lib" files for code blocks and lines that contained the word `"indent"` so that means I might have introduced some bugs and removed some logic that should not be removed..

sending the PR just to show how much it simplifies the logic and how it removes some of ugliest parts of the code base.

see #96