added sunpy.tests.main function for calling tests
Merge pull request #611 from derdon/issue583

added sunpy.tests.main function for calling tests