attachInterruptToPin() and detachInterruptToPin()

As discussed on developers list.