records: move legacy methods to the Record object
- Moves legacy_export_as_marc and legacy_create_recstruct from the SmartJson class to the record class.
- Enhances test cases for this two methods.
Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>