implemented support for issues 953 and 936 

i've implemented both the glbackend support for issue 953 and for issue 936 in a single commit due to the changes in the db needed so that the merge would result more easy.

this should be ready for integration and a twins pull request will be opened on glclient side