Fixes the is_constant function; and adds two methods: is_function and is_resolvable. Bumps version number to 1.1.8.