css

This adds CSS live document support on top of sebaslv's PR#3.
@shahabl, please see 1dcea1e from #3 which moves this logic to a separated module and also remove ```getRelated``` from this file since we now rely on events only.