Fetch slug for latest release and store to bundle

Fetches the slug information along with the latest release and stores it
to `Bundle`. This should enable us to perform a complete app run.

Also contains some minor refactoring and some fixes to enable OSX
support.
Merge pull request #5 from fdr/brandur-get-slug

Fetch slug for latest release and store to bundle