Move example preprocessing into separate file

* Move example preprocessing implementation into separate file instead
of being placed inside example analysis script because it is only
executed if it is located as a separate file in the root folder of the
project.
4 jobs for !117 with 120-example-preprocessing-is-in-wrong-file in 2 minutes and 19 seconds (queued for 2 seconds)
latest detached
Status Name Job ID Coverage
  Test
passed lint #409966

00:00:46

passed sqa:dev #409968
internal

00:01:29

passed test #409967

00:01:11

 
  Build
passed build:package #409969

00:00:48