change the use of program/uniforms a bit

Do not hold ref ptr on program, as it gets passed to state set
Merge branch 'osgTest' of https://github.com/lanice/elemate into osgTest