[creditdunordpee] rewrite using s2e, make it work with OTP / device fingerprinting

Credit du Nord PEE has (now) an enhanced security feature,
using a kind of 'fingerprinting' of the browser device which
is used to detect if you changed device ; and will trigger
the sending of a OTP to email or SMS for authorization of
a new device.
If you fill-in the proper OTP you received, it will allow
this new device from now on.

The current creditdunordpee does not handle this feature,
and I was not able to add it easily.

Instead, I found that this bank is using what looks like a
shared platform with other banks - that is already supported
by weboob (module : s2e for the shared code, and modules:
bnppere, capeasi, erehsbc, esalia for the banks using it)

Thus I rewrote the creditdunordpee module to use s2e shared
code and have the authentication working.

In addition to fixing authentication, the use of s2e module
gives us a new capability (CapBankPockets). Morever, it seems
maintained.
12 jobs from creditdunordpee in 59 minutes and 29 seconds
Status Job ID Name Coverage
  Build
passed #15418
build:2.7

00:01:02

passed #15419
build:3

00:01:13

 
  Test
failed #15421
allowed to fail
lint:2.7

00:01:35

failed #15425
allowed to fail
lint:3

00:52:27

passed #15420
pyflakes:2.7

00:01:53

passed #15424
pyflakes:3

00:52:28

passed #15422
unittests:2.7

00:01:47

passed #15426
unittests:3

00:52:03

failed #15423
allowed to fail
unittests-modules:2.7

00:53:17

failed #15427
allowed to fail
unittests-modules:3

00:01:43

 
  Deploy
passed #15428
doc:2.7

00:01:53

passed #15429
doc:3

00:02:03

 
Name Stage Failure
failed
unittests-modules:3 Test
2019-02-01 20:57:37,535:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module ilmatieteenlaitos: [ImportError] cannot import name 'imap' from 'itertools' (unknown location)
2019-02-01 20:57:37,616:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module lacentrale: [NameError] name 'unicode' is not defined
2019-02-01 20:57:38,083:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module tapatalk: [ModuleNotFoundError] No module named 'xmlrpclib'
2019-02-01 20:57:38,136:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module wellsfargo: [ModuleNotFoundError] No module named 'Cookie'
Errors building modules: dailymotion, hds, ilmatieteenlaitos, lacentrale, tapatalk, wellsfargo
Use --debug to get more information.
=== [ 0%] Getting file:///builds/llange/weboob/modules
=== [100%] All modules are up-to-date.
ERROR: Job failed: exit code 1
failed
lint:3 Test
2019-02-01 20:05:25,653:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module ilmatieteenlaitos: [ImportError] cannot import name 'imap' from 'itertools' (unknown location)
2019-02-01 20:05:25,754:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module lacentrale: [NameError] name 'unicode' is not defined
2019-02-01 20:05:26,273:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module tapatalk: [ModuleNotFoundError] No module named 'xmlrpclib'
2019-02-01 20:05:26,361:WARNING:repository:1.5:repositories.py:304:build_index Unable to build module wellsfargo: [ModuleNotFoundError] No module named 'Cookie'
Errors building modules: dailymotion, hds, ilmatieteenlaitos, lacentrale, tapatalk, wellsfargo
Use --debug to get more information.
=== [ 0%] Getting file:///builds/llange/weboob/modules
=== [100%] All modules are up-to-date.
ERROR: Job failed: exit code 1
failed
unittests-modules:2.7 Test
-----------------------------------------------------------------------
TOTAL 59476 31538 47%
----------------------------------------------------------------------
Ran 362 tests in 685.885s

FAILED (SKIP=94, errors=101, failures=26)
=== Total coverage ===
MODULES COVERAGE: 47%
ERROR: Job failed: exit code 1
failed
lint:2.7 Test
=== [  0%] Getting file:///builds/llange/weboob/modules
=== [100%] All modules are up-to-date.

Modules without tests: afer, amundi, banqueaccord, bforbank, bolden, bouygues, bp, caels, chronopost, cmb, cmmc, cmso, colisprive, colissimo, edf, ensap, figgo, genericnewspaper, gmf, linebourse, n26, nalo, okc, oney, orange, ovh, pagesjaunes, peertube, redmine, relaiscolis, tapatalk, yomoni

Modules without icons: avendrealouer, bnpcards, bnppere, bolden, btpbanque, capeasi, cices, cmes, deathbycaptcha, ekwateur, ensap, erehsbc, esalia, figgo, gmf, linebourse, materielnet, meslieuxparis, nalo, onlinenet, pagesjaunes, peertube, pradoepargne, spirica, tapatalk, trainline

Modules for Python 2 only: allocine, amazonstorecard, amelipro, apivie, asana, audioaddict, bnpcards, canalplus, carrefourbanque, cci, centquatre, cityscoot, colisprive, cpasbien, dailymotion, dhl, dpd, dresdenwetter, ensap, ganassurances, gls, groupama, guerrillamail, happn, hds, ideel, ilmatieteenlaitos, ina, inrocks, ipapi, itella, journaldesfemmes, kickass, kiwibank, lacentrale, lampiris, lyricsdotcom, lyricsplanet, mailinator, mareeinfo, materielnet, meslieuxparis, minutes20, myedenred, myhabit, newsfeed, okc, onlinenet, openedx, ovh, pagesjaunes, parolesmusique, parolesnet, paypal, phpbb, pixabay, playme, poivy, pradoepargne, presseurop, prixcarburants, radiofrance, residentadvisor, rmll, sachsen, t411, tapatalk, taz, tinder, torrentz, trainline, transilien, vicsec, vicseccard, vine, virginradio, wellsfargo, yahoo
ERROR: Job failed: exit code 1