Minor changes in peripheral interface classes.
Added GPIO interrupts for LPC17xx.
Calling constructors with erroneous pin configuration would result
in E_VALUE error.
Fixed interrupt enabling for LPC13xx: added pending interrupt
flag clearing to avoid unexpected interrupt occurrence
right after enabling.