Some refactorings

Just extracted some methods on `Pomo::Task`, because it had a D on Code Climate.