Adds support for hasOwnProperty for numbers
Adding test case for #419
Adds hasOwnProperty support for primitive booleans
Merge #418 r=@kevinmehall: Adds support for hasOwnProperty for numbers