Refactors Element.all_for_page to Page#available_element_definitions.

This makes this api more understandable and far better testable.