A few fixes for model loading, better error handling.
Still unclear if loading works correctly - need better sample meshes.
Added uniform buffer class.
Sample uses now a uniform buffer for transformation and #version 330 shaders.