Include reference to List obj when initialising plugins

Fixes bug when using require JS and List is not global.
Fix index async and add possibility to add handlers on init
Fix addAsync
Switch from tabs with 4 spaces to 2 spaces