Check if $nav_elements is set and an array before iterating through it.
Closes #23 Upgraded CKEditor to 4.2, added the media embed plugin, added the alignment options to the editor, and reorganized the toolbar layout.
Merge branch 'develop' of github.com:EntradaProject/entrada-1x into develop