Fix retrieval of multivalued / clonables in ui, fixes #196
Workaround mysql bind param bug when storing metadata

see #198 - might be reverted after bug is fixed in upstream
Cleanup and modifiy sample profiles