Github api auth. Github Pull request engine improvements to get pull and build status

might be some conflicts on engine.rb with master