Panel crash fixes

This fixes two issues with panels:
1. Bug #1608
2. Cinnamon will crash if an unknown panel-layout string is encountered. This patch makes Cinnamon fall back to the "Classic" mode if the layout string is not recognized.