add missing package to OS X install
add commands for package installations
Allow a custom function named 'prior' as a value for 'mode_compute' option

Closes #507
Always initialize M_.maximum_{endo,exo}_{lead,lag} and M_.params

Closes #515