added 'argtypes' attributes and error checking to all API functions
added 'argtypes' attributes and error checking to all API functions

tribeiro/python-FLI,astroufsc/python-FLI,cversek/python-FLI,tzuchiangshen/python-FLI