Tidied up component.js - application and require were listed in the requ...

...ire.def, but not passed into this module or used within in. This may have also been causing certain circular dependency issues, such as those experienced by iPlayer in their unit tests.