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.