Added basic API exception logging with Log4Net.
Merge branch 'log4net' into development