css

This adds CSS live document support on top of sebaslv's PR#3.
Since we're inserting a stylesheet at position i, we want to skip it.  
I'm going to merge the code from feature/css2 branch since it fixes problem with the case that imported css files being edited before the file importing them.