Removed old style element selectors, should use css style selectors instead
string lookup now also looks for css selectors; modified element lookup by String to impose an order: id, name, value, href, anchor:text, css selector; fixed exists to use string lookup (previously only verified existence of elements by name and id)
general cleanup; adding types to make code easier to follow; converted one server test to non-server test