Cleaner organisation of files & functions.

YOURLS_Tests.php should only contain tests. Move all helper functions to utils.php