Do not use a functor for attached data update in EnginioModel

Besides being overkill for this purpose, in it's used form it does
only build with C++11 enabled because of the anonymous template
argument type.
It is enough to simply pass the row number to the function instead
of a functor.
Fix typos and unused variable warnings

Rename 'removeDelyed' to 'removeDelayed' and move the assert
for the empty object id out of delayedOperation.
Merge pull request #189 from bbandix/enginiomodel

Enginiomodel fixes