[caldav] Change code to using Qt style

This commit just cleans up the code style of the plugin by:
 - removing unnecessary whitespace
 - ensuring brace usage and indentation consistency
 - changing header guards to match header file names
 - using Q_ macros (Q_FOREACH, Q_SIGNALS, Q_SLOTS)
 - changing value arguments to const refs where appropriate