Add api documentation for node, class, view, idle and layout. Clean stuff up, make more methods chainable.