tests: Add a stack trace to error messages

With assert inside functions it was difficult to trace errors since
there was no way to tell where a function was called from.
This commit adds get_stack and print_stack functions which display
the call stack with the file and the line where the function was called
from along with the arguments. Stack traces are also added to error
messages.
common: Modify serializable_class and MooseFSVector

* Make COUNT_ARGS and COUNT_ARGS_ macros automatically generated.
* Make MooseFSVectar be able to serialize vectors of types
which instances can have different sizes.