Add missing requires of lib files.
Find PR with user and repository names.
Support Bitbucket OAuth authentication.
Fix BuildLog constructor arguments.
Fix BuildLogLine#formatted_line that was not supporting nil dates.
Fix checking for pull request existence.
Fix decision of which action to take based on build status.
Rescue from BitBucket errors.
Instantiate a new Build object only if the hook request can create trigger build.