Fixed a small bug in buffer flush functions.
Added reset functions for buffer to allow easy repeating call from MAC layer
Updated gitignore to ignore perf result files
Merge branch 'release' of https://github.com/dimitriv/Ziria into release