Object keys

this pull request replace object.keys with function keys for compatibility with explorer 8 and for don't money patching Object.keys.

based on  http://whattheheadsaid.com/2010/10/a-safer-object-keys-compatibility-implementation