#2327 Trying to fix memory leak by moving boundary conditions to the constructor.

git-svn-id: https://chaste.cs.ox.ac.uk/svn/chaste/trunk@18925 b5f69653-2bf5-0310-8201-b0dafb8e1405
#2370 Fixed memory leak.

git-svn-id: https://chaste.cs.ox.ac.uk/svn/chaste/trunk@18926 b5f69653-2bf5-0310-8201-b0dafb8e1405
Typo

git-svn-id: https://chaste.cs.ox.ac.uk/svn/chaste/trunk@18933 b5f69653-2bf5-0310-8201-b0dafb8e1405
#2327 Reverting r18925 as despite working on my machine caused seg faults on servers.

git-svn-id: https://chaste.cs.ox.ac.uk/svn/chaste/trunk@18934 b5f69653-2bf5-0310-8201-b0dafb8e1405