moved main branch from being root of the repository to being trunk

git-svn-id: https://svn.code.sf.net/p/advants/svn/trunk@1251 ccf315bb-052a-4340-8263-1c36e0ab10be
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://svn.code.sf.net/p/advants/svn/trunk@1255 ccf315bb-052a-4340-8263-1c36e0ab10be
added the include directory used during ANTS installation

git-svn-id: https://svn.code.sf.net/p/advants/svn/trunk@1256 ccf315bb-052a-4340-8263-1c36e0ab10be
rolled back from r1257 to r1251

git-svn-id: https://svn.code.sf.net/p/advants/svn/trunk@1258 ccf315bb-052a-4340-8263-1c36e0ab10be
integrating branch 'library' into trunk; see the previous commit logs for info on modifications

git-svn-id: https://svn.code.sf.net/p/advants/svn/trunk@1260 ccf315bb-052a-4340-8263-1c36e0ab10be
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://svn.code.sf.net/p/advants/svn/trunk@1261 ccf315bb-052a-4340-8263-1c36e0ab10be
adding boost libraries needed by 'antscout'

git-svn-id: https://svn.code.sf.net/p/advants/svn/trunk@1262 ccf315bb-052a-4340-8263-1c36e0ab10be
COMP:  Remove warnings.

git-svn-id: https://svn.code.sf.net/p/advants/svn/trunk@1263 ccf315bb-052a-4340-8263-1c36e0ab10be
COMP:  Atropos compilation warnings.

git-svn-id: https://svn.code.sf.net/p/advants/svn/trunk@1264 ccf315bb-052a-4340-8263-1c36e0ab10be
COMP:  A final warning fix.

git-svn-id: https://svn.code.sf.net/p/advants/svn/trunk@1265 ccf315bb-052a-4340-8263-1c36e0ab10be
DOC:  Fixing stage numbers.

git-svn-id: https://svn.code.sf.net/p/advants/svn/trunk@1266 ccf315bb-052a-4340-8263-1c36e0ab10be
ENH:  Adding b-spline displacement field from landmarks.

git-svn-id: https://svn.code.sf.net/p/advants/svn/trunk@1267 ccf315bb-052a-4340-8263-1c36e0ab10be
ENH:  Adding b-spline displacement field from landmarks.

git-svn-id: https://svn.code.sf.net/p/advants/svn/trunk@1268 ccf315bb-052a-4340-8263-1c36e0ab10be
ENH: getting rid of mandatory vtk download

git-svn-id: https://svn.code.sf.net/p/advants/svn/trunk@1269 ccf315bb-052a-4340-8263-1c36e0ab10be
BUG: Got it working.

git-svn-id: https://svn.code.sf.net/p/advants/svn/trunk@1270 ccf315bb-052a-4340-8263-1c36e0ab10be
BUG:  Negative volues weren't being processed on the command line correctly.

git-svn-id: https://svn.code.sf.net/p/advants/svn/trunk@1271 ccf315bb-052a-4340-8263-1c36e0ab10be
BUG:  initial template specification.

git-svn-id: https://svn.code.sf.net/p/advants/svn/trunk@1272 ccf315bb-052a-4340-8263-1c36e0ab10be
BUG:  initial template specification.

git-svn-id: https://svn.code.sf.net/p/advants/svn/trunk@1273 ccf315bb-052a-4340-8263-1c36e0ab10be
ENH:  Added demons metric.

git-svn-id: https://svn.code.sf.net/p/advants/svn/trunk@1274 ccf315bb-052a-4340-8263-1c36e0ab10be
ENH:  Removed unnecessary versions and options which were created when we were debugging the code.

git-svn-id: https://svn.code.sf.net/p/advants/svn/trunk@1275 ccf315bb-052a-4340-8263-1c36e0ab10be