Extracted setup to common method. Added an initWithCoder method to make compatible with Storyboards.
(cherry picked from commit 9cc6099e2866746f481a95b792a699267e9c5865)
Added .DS_Store and xcuserdata to .gitignore.
Localized month and year formatter.