Rubocop style fixes
Write more yardoc
Further Rubocop fixes - 'rake rubocop' now down to 65 offenses
Further Rubocop fixes - 'rake rubocop' now down to 55 offenses
UT of promise API