[layouts] Only accept TWLayoutManagers in TWView
[core] Move TWView from layouts to core module