WICKET-5725 Add NumberTextField(String,Class<T>) constructor

(cherry picked from commit 7d9565894a7b4c3293a06380a3a9385f860072d8)