Move upload link to patient profile page

Also:
- Remove listening to "window close" event after opening upload app
- Add `getUploadUrl()` to `api` in Tidepool platform
- Modify Tidepool platform to take `options` object
Change back buttons on patient pages
Merge pull request #15 from tidepool-org/upload-data

Change upload button behavior