throw exception when primary address not present & syntax fix
Merge branch 'development' of https://github.com/dchbx/gluedb into development