Update ShaderProgram.java

Add support for querying attribute and uniform size (fix issue 742)