Added exculde functionality to stats component
Added tests for stats field excludes
Merge commit '1e5e9c380a970e22192a5a548d05db40e73d46a4' into develop