Class manipulation rewritten from Prototype to jQuery

Partially resolves #872, see https://github.com/ManageIQ/manageiq/issues/214#issuecomment-60060651
This is an invalid test for existence in jQuery, the correct (non-intuitive...) is to test the return of ```.length``` per http://learn.jquery.com/using-jquery-core/faq/how-do-i-test-whether-an-element-exists/.  Saw two additoinal instances of this below as well.