Slap samba debugging into shape with a hammer

- We need gcc 4.6 or higher. Since FreeNAS uses 4.7 for some ports,
  we go ahead and explicitly set it here.
Update samba to 4.1.4 and snatch shadow copy fixes from v4-1-test samba branch

Ticket: 3235
Cherry-pick the fix for "ancient oplock bug" (0670975261c5f29394f9e9d25f899a7de948dad1 in samba git repo).

Ticket: #4035
Cherry-pick a samba fix.

https://attachments.samba.org/attachment.cgi?id=9671

Which is linked from this samba bug:

https://bugzilla.samba.org/show_bug.cgi?id=10415

Possibly related to:

Ticket: #4285
Change bsd.port.mk to not set -A in FETCH_ARGS.

Update plexmediaserver to 0.9.9.2.374

Ticket #4211
Disable the fault handler
Upgrade owncloud port to 6.0.1
Update libinotify-kqueue to its latest version.

(cherry picked from commit 3d6a8bc23ce3d5805944d5e74744c9bd9dc92eda)
Oops, committed a stale version of Makefile.

(cherry picked from commit 01afb2d9d86cc12ce4289fc5629a9d7f3f3fa28c)
Samba 4.1.5.
Update samba to 4.1.5
Upgrade owncloud port to 6.0.1

Ticket #3721
Revert "Upgrade owncloud port to 6.0.1"

This reverts commit e97bd17bc999d913a6d41a202abbdbc7457cc374.

Testing again after the first time didn't work, so I have to
conclude I did the wrong thing last night when I tested it.
Merge branch 'freenas/9-stable' of gitserver.ixsystems.com:/git/repos/freenas-build/ports into sef/PR-3721
Merge branch 'freenas/9-stable' of gitserver:/git/repos/freenas-build/ports into freenas/9-stable
Update plexmediaserver to 0.9.9.4.409
Update the plex media server again.
Use the proper plist file.
Fix /etc/shells for ksh93 and mksh

Ticket:	#4454
Attempt to fix the case when we hit EBADF.