Added applying the easy lattice modifier while in lattice object. If the lattice object is selected it will apply the modifier and delete the lattice object.

Additional refactoring 

wip.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib@4525 96b784f8-4ae3-dd11-aff7-0030488c597c