Refactor Component.isFixedWidth/Height so that instead of storing a
protected boolean variable, it is deduced from the _requestedSpace
call.

Improve unit testing.