Initial commit for fitbit oauth. Also fixed a redirect bug.