New market model function, introduces resid argument for returning residuals.

git-svn-id: svn://svn.r-forge.r-project.org/svnroot/eventstudies@387 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Added file covering the package functions for testing purposes.

git-svn-id: svn://svn.r-forge.r-project.org/svnroot/eventstudies@388 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Code formatting changes.

git-svn-id: svn://svn.r-forge.r-project.org/svnroot/eventstudies@389 edb9625f-4e0d-4859-8d74-9fd3b1da38cb