Add new generic timeout function. Add timeout to base control asserts. Update base page to use new timeout function.
Add timing functions.