added flatMap that works with a Result<T>
added flatMap that works with a Result<T>

zenkimoto/BrightFutures,MattesGroeger/BrightFutures,hoanganh6491/BrightFutures,morizotter/BrightFutures,Noobish1/BrightFutures,zhaar/BrightFutures,MattesGroeger/BrightFutures,tranhieutt/BrightFutures,morizotter/BrightFutures,Thomvis/BrightFutures,hoanganh6491/BrightFutures,Thomvis/BrightFutures,tranhieutt/BrightFutures,zhaar/BrightFutures,Noobish1/BrightFutures,zenkimoto/BrightFutures