Modifications to the master branch:
* Entry point changed from 'main' to a function named same as the filename containing 'main'.
* Entry point function takes two arguments: vector of strings -- eqquivalent to command line 'argv'.
  	      	       	         output stream -- (default=NULL) stream to write console output.
* The vector-of-strings parameter received get converted to (argc,argv) with a local cleanup class meant to cleanup argv.
* All symbols in the translation unit except for ones in the headers are enclosed in namespace 'ants'.
* The header 'antscout.h' is included in every translation unit. This header defines a class and creates a static stream 
  object that holds a pointer to user's output stream. This pointer is NULL by default. The static object prints to
  the user output stream if given or prints nothing if user output stream is not given.
* Calls to 'std::cout' and 'std::cerr' insertion operator are replaced with calls to 'antscout' insertion operator.
* calls to 'exit()' are replaced with 'throw std::exception()'.
* 'Examples/CMakeLists.txt' changed to build library objects. The libraries built are installed to directory 'lib' in the 
  build-tree.
* 'Examples/include' added to contain a header for each library built and the header 'ants.h' to include all 
  these headers within it. User of the library only needs to include 'ants.h' found in the 'include' directory 
  in the build-tree and link to libraries in 'lib' directory in the build-tree.


git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1255 fd2da0a4-d968-48df-9cb5-d8c496287cbf
added the include directory used during ANTS installation

git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1256 fd2da0a4-d968-48df-9cb5-d8c496287cbf
rolled back from r1257 to r1251

git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1258 fd2da0a4-d968-48df-9cb5-d8c496287cbf
integrating branch 'library' into trunk; see the previous commit logs for info on modifications

git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1260 fd2da0a4-d968-48df-9cb5-d8c496287cbf
Fixed bug regarding antscout.
Before: passing 'antscout' to functions that accept 'std::ostream&' was doing nothing in the sense that the 'operator <<' of 'antscout' was not getting called
After: 'antscout' can be passed to such functions with proper behavior now

Replaced all 'throw std::exception() ;' with 'return EXIT_FAILURE ;' within the entry-point function for every target.


git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1261 fd2da0a4-d968-48df-9cb5-d8c496287cbf
adding boost libraries needed by 'antscout'

git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1262 fd2da0a4-d968-48df-9cb5-d8c496287cbf
COMP:  Remove warnings.

git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1263 fd2da0a4-d968-48df-9cb5-d8c496287cbf
COMP:  Atropos compilation warnings.

git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1264 fd2da0a4-d968-48df-9cb5-d8c496287cbf
COMP:  A final warning fix.

git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1265 fd2da0a4-d968-48df-9cb5-d8c496287cbf
DOC:  Fixing stage numbers.

git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1266 fd2da0a4-d968-48df-9cb5-d8c496287cbf
ENH:  Adding b-spline displacement field from landmarks.

git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1267 fd2da0a4-d968-48df-9cb5-d8c496287cbf
ENH:  Adding b-spline displacement field from landmarks.

git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1268 fd2da0a4-d968-48df-9cb5-d8c496287cbf
ENH: getting rid of mandatory vtk download

git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1269 fd2da0a4-d968-48df-9cb5-d8c496287cbf
BUG: Got it working.

git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1270 fd2da0a4-d968-48df-9cb5-d8c496287cbf
BUG:  Negative volues weren't being processed on the command line correctly.

git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1271 fd2da0a4-d968-48df-9cb5-d8c496287cbf
BUG:  initial template specification.

git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1272 fd2da0a4-d968-48df-9cb5-d8c496287cbf
BUG:  initial template specification.

git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1273 fd2da0a4-d968-48df-9cb5-d8c496287cbf
ENH:  Added demons metric.

git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1274 fd2da0a4-d968-48df-9cb5-d8c496287cbf
ENH:  Removed unnecessary versions and options which were created when we were debugging the code.

git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1275 fd2da0a4-d968-48df-9cb5-d8c496287cbf
DOC:  Adding documentation for KellyKapowski.cxx.  BUG:  Wasn't specifying the domain properly for the B-spline transform.

git-svn-id: https://advants.svn.sourceforge.net/svnroot/advants/trunk@1276 fd2da0a4-d968-48df-9cb5-d8c496287cbf