Adding a new predictions' output format: full data

- Adds a new option for --predition-info to write in the
  predictions.csv file the input data followed by its corresponding
  prediction.
Minor comment and format changes
Refactoring for predict functions and check_resource errors