Created global_memory.r to store objects and functions global use.

Private function .last.value() now returns a list of two functions  and  for storing data between calls.
Extra input validation was added to mlg.filter (clearer error message when pop is not a genclone or genind object).
mlg.filter(NULL,memory=ERASE) will now clear the memory without any further processing.