fixing bug in lambda visitor test, moved algorithm and optimizer to xacc

Signed-off-by: Alex McCaskey <mccaskeyaj@ornl.gov>
latest