Add length getter and getter for item with index to SequentialLayoutElement

- will be used by new VList implementation
Add a getter for the current form to DeclarativeItemBase.