Refer to APCLocalArray as Apc rather than Shared

Summary: Rename "Shared" to "Apc" in various enums and method names.

Reviewed By: @jdelong

Differential Revision: D1724306

Signature: t1:1724306:1417979602:39e36af15309e215c53da2209a373bac96add171
Moved UserFile casting error back to sock_array_to_fd_set().

Summary: Moved UserFile's fd casting error back to sock_array_fd_set() function
to fix two errors in vfsstream's framework test -
vfsStreamWrapperSetOptionTestCase::setBlockingDoesNotWork and
vfsStreamWrapperSetOptionTestCase::removeBlockingDoesNotWork,
which is introduced in commit 17e0756.
Closes https://github.com/facebook/hhvm/pull/4401

Reviewed By: @JoelMarcey

Differential Revision: D1724140

Signature: t1:1724140:1418002744:d68376b4ccff6183c90b10f91f72fc98974f68d7
Name of DateTime extension should be date

Summary: `extension_loaded("date")` should be `true`
`extension_loaded("datetime")` should be `false`
Fixes #4403

Reviewed By: @paulbiss

Differential Revision: D1724162

Signature: t1:1724162:1418000963:d4dd6b8ab074ec07fb3e896fcbad6153d22b39a3
Add 64-bit packing and unpacking

Summary: PHP 5.6.3 added 64-bit flags for packing and unpacking. It was noticed that we
haven't supported this yet. So now we are.

Fixes #4296

Reviewed By: @paulbiss

Differential Revision: D1696014

Signature: t1:1696014:1418001230:10f4fe28b4ced5d925d254b256dd209bbc6068b0
Update vfsstream to v1.4.0

Summary: Update framework test to use vfsstream v1.4.0.
Remove vfsStreamWrapperWithoutRootTestCase from blacklist.
Closes https://github.com/facebook/hhvm/pull/4402

Reviewed By: @JoelMarcey

Differential Revision: D1724142

Signature: t1:1724142:1418011683:f757f792574d0e886129375d8edd821a9f6388da