Refactoring : creation of an ImmutableValidator

Signed-off-by: Aymeric Brisse <aymeric.brisse@perfect-memory.com>
Bump to 0.3.1

Signed-off-by: Aymeric Brisse <aymeric.brisse@perfect-memory.com>