Refactor test app and server creation into smaller pieces.

Will want to create a different kind of test server to mimic a potential Galaxy job files API.
Add new remote action "remote_transfer".

This action will transfer files via URL get/post (using pycurl currently). Added test case (including dummy app to mock a potential Galaxy files API) to test this functionality.

Still more work to do - there is no way to populate such urls during setup process and Galaxy still doesn't have a job files API in order to access these files.