Adding Helper Functions to BaseElement

Added hasClass() function with tests
Added hasAttribute() function with tests