getconf : added a getfloat method

in Python 2.6 assertRaises is not a context manager (https://docs.python.org/2.7/library/unittest.html?highlight=assertraises#unittest.TestCase.assertRaises) !