Adde flag for maglev_persistable which allows to persist methods

Added a flag for maglev_persistable which indicates, whether methods should be persisted.
By default, methods are not persisted.