Modify two input value for function "parse".

Hi, our project tends to write a cf monitoring to get some attributes by calling vcap Java API. We find a bug that when using function "parse" to get "mem" value, the result is empty if the attribute type is Double.class. The reason is that "mem"'s type is Integer, so I fixed this point to from "Double.class" to "Integer.class". The same bug also occurs for "uptime". Please check and review.