Move PostMixin to its own file

Also replaces dead code in lib/msf/core/exploit/local.rb with what was
actually being used for the Exploit::Local class that lived in
lib/msf/core/exploit.rb.
Factorize and remove includes

Speeds up compilation and removes dependency on bionic source
Landing #1874 - Post API cleanup