Added void return types for some methods of gapi and spin.js. It alows compile with --noImplicitAny

Added void return types for some methods of gapi and spin.js. It alows compile with --noImplicitAny