Simplification of DecorateImmediate

Making use of a function defined at file level for an array initialization, should also ease the burden in object files where DecorateImmediate is heavily used
Merge pull request #261 from leapmotion/ref-decorateimmediate

Simplification of DecorateImmediate

Conflicts:
	src/autowiring/test/AutoFilterTest.cpp