Add more fixes for run-time issues...

Add more nil-check fixes.

Add index-bounds-check fixes.
Fixup port of MonthsViewController.

Move cell background color setting.

Fixup porting cellSize calculation.

Guard borderInsets calculation values.

Fixup porting cell borderInsets setting.