Add is.float and is.integer

Let me know if you think I need to write tests or make some other changes for this pull. 
Thanks