Allow testing from running karma or SpecRunner

Updated fixture path to detect if running from file: protocol and adjust
path accordingly.
Removing toc.init and domready stuff

I have no idea why this was even here. Was I planning to auto-create the
toc? Because that's not at all what the init function does... I think
its better to explicitly call the method when ready anyhow.
Bugfix: Lowest level detection

Anchor tags were causing this function to break because they don't have
a set level so it would end up comparing with undefined and become NaN.

With the leveling broken, browsers were getting "can't get parentNode of
null" errors when doing the parent.parentNode.parentNode call to step up
the tree.