reimplemented additional info with a struct forward-definition

Squashed commit of the following:

commit d8403e9e26226dd40e1201128c579e314d84f61c
Author: Stasik0 <github@stasik.com>
Date:   Thu Sep 4 16:33:39 2014 +0200

    fixes issue #120 properly

commit 05ae7f7bd4ef6c4c0b78abe429bb4987fd8dca66
Author: Stasik0 <github@stasik.com>
Date:   Thu Sep 4 14:04:07 2014 +0200

    minor fix: adding break to case's default statement

commit 7a06fedc4563a13ea6faf29967bdcdfaedefa280
Author: Stasik0 <github@stasik.com>
Date:   Thu Sep 4 12:46:44 2014 +0200

    partially fixed issue, we need to look up all the attributeid/nodeclass combinations