libports: add Qt5

Fixes #345.
base-foc: Checkout license file from TUDOS repo
foc: Fix interrupt-mode handling on x86

Set level/edge high/low values correctly.

Fixes issue #830