power_law_with_core: revise module

Make lua module compatible with scripting interface for 0.3.x and
support 'memory' parameter of particle.

Remove "using namespace" in c++ module.
lua/potentials: support 'memory' parameter for LJ-linear and power_law

Futhermore, make use of utilty.assert_kwarg()