gpython/pymain: -O, sys.executable, ...

- Teach gpython and pymain about `-`;
- Teach gpython and pymain about -O;
- Teach pymain to always set sys.executable, so that subprocess and multiprocessing work correctly out of the box;
- Fix ./bin/gpython crash;
- Rewrite options parsing via incremental getopt-like thing.

This changes are motivated by slapos!862 (comment 121470) and slapos!862 (comment 121600).

/reviewed-by @jerome
/reviewed-on !10
31 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
failed Pygolang.UnitTest-Master.Python2

00:01:07

failed Pygolang.UnitTest-Master.Python3

00:01:08

failed Pygolang.UnitTest-Master.Python2

00:01:32

failed Pygolang.UnitTest-Master.Python2

00:01:16

failed Pygolang.UnitTest-Master.Python2

00:01:22

failed Pygolang.UnitTest-Master.Python2

00:01:07

failed Pygolang.UnitTest-Master.Python2

00:01:09

failed Pygolang.UnitTest-Master.Python2

00:01:06

failed Pygolang.UnitTest-Master.Python2

00:01:25

failed Pygolang.UnitTest-Master.Python2

00:01:20

failed Pygolang.UnitTest-Master.Python2

00:01:05

failed Pygolang.UnitTest-Master.Python2

00:01:06

failed Pygolang.UnitTest-Master.Python2

00:01:30

failed Pygolang.UnitTest-Master.Python2

00:01:05

failed Pygolang.UnitTest-Master.Python2

00:01:10

failed Pygolang.UnitTest-Master.Python3

00:01:34

failed Pygolang.UnitTest-Master.Python3

00:01:25

failed Pygolang.UnitTest-Master.Python3

00:01:36

failed Pygolang.UnitTest-Master.Python3

00:01:20

failed Pygolang.UnitTest-Master.Python3

00:01:38

failed Pygolang.UnitTest-Master.Python3

00:02:23

failed Pygolang.UnitTest-Master.Python3

00:01:17

failed Pygolang.UnitTest-Master.Python3

00:01:10

failed Pygolang.UnitTest-Master.Python3

00:01:21

failed Pygolang.UnitTest-Master.Python3

00:01:34

failed Pygolang.UnitTest-Master.Python3

00:01:26

failed Pygolang.UnitTest-Master.Python3

00:01:17

failed Pygolang.UnitTest-Master.Python3

00:01:18

failed Pygolang.UnitTest-Master.Python3

00:01:26

failed Pygolang.UnitTest-Master.Python3

00:01:09

failed Pygolang.UnitTest-Master.Python3

00:01:33