Mic Log Implementation

Implemented a mic log table for audit reasons.

Table format is far from ideal and duplication is guaranteed but
unfortunately required by the powers that be.

each microphone movement is logged with 4 states. To session, to
cupboard, transferred, to workshop.
Query fix

Missed PDO fetch method